package com.leyou.item.services;

import com.leyou.common.vo.PageResult;
import com.leyou.item.pojo.Brand;

import java.util.List;

/**
 * @Date 2018/12/12  13:56
 * @Author JIE
 */
public interface BrandService {

  public PageResult<Brand> queryBrandByPage(Integer page, Integer rows, String sortBy, Boolean desc, String key);

  public void saveBrand(Brand brand, List<Long> cids);

  public void updateBrand(Brand brand, List<Long> cids);

  public void deleteBrand(Long bid);

  public Brand queryById(Long id);

  public List<Brand> queryBrandByCid(Long cid);

  List<Brand> queryByIds(List<Long> ids);
}
